package com.enetiy;

import java.util.Date;


/**
 * Comborecord entity. @author MyEclipse Persistence Tools
 */

public class Comborecord implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer areaId;
	private Integer usersId;
	private Date buyTime;
	
	private Date endTime;
	private String descr;
	private Integer status;
	
	public Comborecord( Integer areaId, Integer usersId,
			Date buyTime, String descr, Integer status, Integer comboid,
			String comboName, Integer bandwidth, Double money, Integer wayId,
			Integer comboUnit,Integer timeLong,Date endTime) {
		super();
		this.areaId = areaId;
		this.usersId = usersId;
		this.buyTime = buyTime;
		this.descr = descr;
		this.status = status;
		this.comboid = comboid;
		this.comboName = comboName;
		this.bandwidth = bandwidth;
		this.timeLong = timeLong;
		this.endTime = endTime;
		this.money = money;
		this.wayId = wayId;
		this.comboUnit = comboUnit;
	}

	private Integer comboid;
	private String comboName;
	private Integer bandwidth;
	private Double money;
	private Integer wayId;
	private Integer timeLong;
	private Integer comboUnit;

	// Constructors

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Integer getWayId() {
		return wayId;
	}

	public void setWayId(Integer wayId) {
		this.wayId = wayId;
	}

	public Integer getComboUnit() {
		return comboUnit;
	}

	public void setComboUnit(Integer comboUnit) {
		this.comboUnit = comboUnit;
	}

	/** default constructor */
	public Comborecord() {
	}

	/** full constructor */
	public Comborecord(Integer areaId, Integer usersId, Integer areatypeId,
			Date buyTime, String descr, Integer status, Integer comboid,
			String comboName, Integer bandwidth) {
		this.areaId = areaId;
		this.usersId = usersId;
		this.buyTime = buyTime;
		this.descr = descr;
		this.status = status;
		this.comboid = comboid;
		this.comboName = comboName;
		this.bandwidth = bandwidth;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAreaId() {
		return this.areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public Integer getUsersId() {
		return this.usersId;
	}

	public void setUsersId(Integer usersId) {
		this.usersId = usersId;
	}


	public Date getBuyTime() {
		return buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	public String getDescr() {
		return this.descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getComboid() {
		return this.comboid;
	}

	public void setComboid(Integer comboid) {
		this.comboid = comboid;
	}

	public String getComboName() {
		return this.comboName;
	}

	public void setComboName(String comboName) {
		this.comboName = comboName;
	}

	public Integer getBandwidth() {
		return this.bandwidth;
	}

	public void setBandwidth(Integer bandwidth) {
		this.bandwidth = bandwidth;
	}

	public Integer getTimeLong() {
		return timeLong;
	}

	public void setTimeLong(Integer timeLong) {
		this.timeLong = timeLong;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

}